package com.atguigu.realtime.gmallpublisher.service;

import com.atguigu.realtime.gmallpublisher.bean.ProvinceStats;
import com.atguigu.realtime.gmallpublisher.mapper.ProvinceStatsMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProvinceStatsServiceImp implements ProvinceStatsService{
    
    @Autowired
    private ProvinceStatsMapper province;
    @Override
    public List<ProvinceStats> getProvinceStats(int date) {
        return province.getProvinceStats(date);
    }
    
}
